﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true"
    CodeBehind="OrderUser.aspx.cs" Inherits="TCV_WEB.Admin.Page.OrderUser" Title="Untitled Page" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlacebody" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <table cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                <table cellpadding="0" cellspacing="6" border="0" class="tableForm" id="tblManagePartner">
                    <tr>
                        <td align="center" class="formTitle" colspan="5">
                            Thông tin cá nhân
                        </td>
                    </tr>
                    <tr>
                        <td colspan="5">
                            <div id="divError">
                                <asp:Label ID="lblErr" runat="server" CssClass="errorText"></asp:Label>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 5%">
                        </td>
                        <td style="width: 25%">
                            Họ tên
                        </td>
                        <td style="width: 20px">
                        </td>
                        <td>
                            <asp:TextBox ID="txtfullname" runat="server" Width="70%"></asp:TextBox>
                        </td>
                        <td style="width: 20%" rowspan="4">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 5%">
                        </td>
                        <td style="width: 25%">
                            Email
                        </td>
                        <td style="width: 20px">
                        </td>
                        <td>
                            <asp:TextBox ID="txtemail" runat="server" Width="70%"></asp:TextBox>
                        </td>
                        <td style="width: 20%" rowspan="4">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 5%">
                        </td>
                        <td style="width: 25%">
                            Mật khẩu mới
                        </td>
                        <td style="width: 20px">
                        </td>
                        <td>
                            <asp:TextBox ID="txtpassword" runat="server" Width="70%"></asp:TextBox>
                        </td>
                        <td style="width: 20%" rowspan="4">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td>
                            Giới tính
                        </td>
                        <td style="width: 20px">
                        </td>
                        <td>
                            <asp:RadioButtonList ID="rblIsViewed" runat="server" RepeatDirection="Horizontal">
                                <asp:ListItem Selected="True" Value="true">Nam</asp:ListItem>
                                <asp:ListItem Value="false">Nữ</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            Địa chỉ
                        </td>
                        <td style="width: 20px">
                            &nbsp;
                        </td>
                        <td>
                            <asp:TextBox ID="txtaddress" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                     <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            Điện thoại
                        </td>
                        <td style="width: 20px">
                            &nbsp;
                        </td>
                        <td>
                            <asp:TextBox ID="txtmobi" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            Thành phố
                        </td>
                        <td style="width: 20px">
                            &nbsp;
                        </td>
                        <td>
                            <asp:TextBox ID="txtcity" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            Nước
                        </td>
                        <td style="width: 20px">
                            &nbsp;
                        </td>
                        <td>
                            <asp:TextBox ID="txtcountry" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td style="height: 18px">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;
                <asp:TextBox Visible="false" ID="txtNewsCatID" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="center">
                &nbsp;
                <asp:Button ID="btEdit" runat="server" Text="Sửa" OnClick="btnSave_Click" />
                &nbsp;
                <asp:Button ID="btCancel" runat="server" Text="Huỷ" OnClick="btnDelete_Click" />
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="center" style="padding-bottom: 20px">
                <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" GridLines="None"
                    OnItemCommand="RadGrid1_ItemCommand" OnNeedDataSource="RadGrid1_NeedDataSource"
                    Skin="Office2007" AllowFilteringByColumn="True" AllowPaging="True" AllowSorting="True"
                    PageSize="30" ShowGroupPanel="True">
                    <mastertableview datakeynames="ID">
                        <RowIndicatorColumn>
                            <HeaderStyle Width="20px"></HeaderStyle>
                        </RowIndicatorColumn>
                        <ExpandCollapseColumn>
                            <HeaderStyle Width="20px"></HeaderStyle>
                        </ExpandCollapseColumn>
                        <Columns>
                            <telerik:GridBoundColumn DataField="ID" HeaderText="ID" UniqueName="column2" Visible="False">
                            </telerik:GridBoundColumn>
                            <telerik:GridButtonColumn CommandName="Load" Text="Chi tiết" 
                                UniqueName="column9">
                            </telerik:GridButtonColumn>
                            <telerik:GridBoundColumn DataField="OrderProducts" HeaderText="Mã" 
                                UniqueName="column3">
                            </telerik:GridBoundColumn>
                            <telerik:GridButtonColumn CommandName="UserID" DataTextField="Bill_Name" 
                                HeaderText="Tên người đặt" UniqueName="column1">
                            </telerik:GridButtonColumn>
                            <telerik:GridDateTimeColumn DataField="DateTime" 
                                DataFormatString="{0:dd/MM/yyyy}" HeaderText="Ngày đặt" UniqueName="column4">
                            </telerik:GridDateTimeColumn>
                            <telerik:GridBoundColumn DataField="Ship_Address" HeaderText="Địa chỉ giao" 
                                UniqueName="column5">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="Total" HeaderText="Tổng tiền" 
                                UniqueName="column">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="PayName" HeaderText="Loại TT" 
                                UniqueName="column6">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="StaName" HeaderText="Tình trạng" 
                                UniqueName="column7">
                            </telerik:GridBoundColumn>
                        </Columns>
                    </mastertableview>
                    <clientsettings allowdragtogroup="True">
                    </clientsettings>
                </telerik:RadGrid>
            </td>
        </tr>
        <tr>
            <td>
            </td>
        </tr>
    </table>
</asp:Content>
